﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.OptionalModel
{
    public class OptionalDetailsViewModel : UserAllPermissionsViewModel
    {
        public int OptionalID { get; set; }
        public List<OptionalDetailsGridRowViewModel> Rows { get; set; }
        public List<SelectListItem> Currency { get; set; }
        [DisplayName("Vendor Name:")]
        public string OptionalSelectedVendorName { get; set; }
        public int OptionalSelectedVendorID { get; set; }
        [DisplayName("Start Date:")]
        public string ContractStartDate { get; set; }
        [DisplayName("End Date:")]
        public string ContractEndDate { get; set; }
        [DisplayName("Sign Date:")]
        public string ContractSignDate { get; set; }
        [DisplayName("Description:")]
        public string Description { get; set; }
        public bool Active { get; set; }
        // Add new Optional Detail
        public string PaxFrom { get; set; }
        public string PaxTo { get; set; }
        public string Price { get; set; }
        public int SelectedCurrency { get; set; }
        public bool BusIncluded { get; set; }
        public bool GuideIncluded { get; set; }
        public string Message { get; set; }
    }
    public class OptionalDetailsGridRowViewModel
    {
        public int OptionalDetailID { get; set; }
        public string PaxFrom { get; set; }
        public string PaxTo { get; set; }
        public string Price { get; set; }
        public int SelectedCurrency { get; set; }
        public bool BusIncluded { get; set; }
        public bool GuideIncluded { get; set; }
    }
}